package com.bishe.bishe.pojo;



import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
@Table(name="user")
public class User implements Serializable {
    @Id
    private Integer userId;

    private String userName;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPwd() {
        return userPwd;
    }

    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd;
    }

    public String getUserEntername() {
        return userEntername;
    }

    public void setUserEntername(String userEntername) {
        this.userEntername = userEntername;
    }

    public String getUserNumber() {
        return userNumber;
    }

    public void setUserNumber(String userNumber) {
        this.userNumber = userNumber;
    }

    public User() {
    }

    public User(String userPwd, String userEntername) {
        this.userPwd = userPwd;
        this.userEntername = userEntername;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userPwd='" + userPwd + '\'' +
                ", userEntername='" + userEntername + '\'' +
                ", userNumber='" + userNumber + '\'' +
                '}';
    }

    private String userPwd;
    private String userEntername;
    private String userNumber;
}
